body,p,h1,h2,h3,h4,h5,h6,dl,ol,ul,dd,input,textarea{
	padding: 0;
    margin: 0;
    
}
img{
	vertical-align: top;
	border:0;
}
a{
	color: inherit;
	text-decoration: none !important;
}
li{
	list-style: none;
}
body{
	background-color: #f2f2f2;
	font-size: 12px;
	
}
a:hover{
	color: #d1d8d8;
}

.sl{
	white-space: nowrap;
	overflow: hidden;
	text-overflow:ellipsis;
}
.w{
	width: 1080px;
	margin-left: auto;
	margin-right: auto;
}
.cl:after{
	content: "";
	display: block;
	clear: both;
	height:0;
	overflow: hidden;
	visibility: hidden;
}
.cl{
	zoom: 1;
}

 //////////////遮罩层/遮罩层遮罩层遮罩层遮罩层////////////////////
 .shadow{
    // position: relative;
    position: fixed;
    background-color: rgb(71, 68, 68);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;

    .shadow-box{
        width: 450px;
        height: 300px;
        background-color:white;
        position: fixed;
       
        
        .box-p1{
            font-size: 18px;
            margin: 50px 0 30px;
            text-align: center;
            
        }
        .shadow-main{
            margin: 0 40px 30px;
            font-size: 15px;
           .box-s{
               color: #845f3f;
           }
           .box-p2{
               color: black;
           }
           
        }
        .shadow-btn{
            margin-left: 42px;
          button{
            width: 180px;
            height: 42px;
            background-color: #845f3f;
            text-align: center;
            line-height: 42px;
            border: #845f3f 1px solid;
            border-radius: 10px;
            font-size: 18px;
            color: #d1d8d8;
            outline: none;
          }
        }
        
    }
}


////////////////////////////  




////////////开始部分   开始部分   开始部分/////////////////////////////////


.box-header{
    width: 100%;
    height: 48px;
    background-color: rgb(53, 52, 52);
    color: #f3f3f3;
    font-size: 14px;

}

.box-right{
    float: right;

}

.box-right li{
    float: left;
    text-align: center;
    line-height: 48px;
    margin-left: 20px;   
}

.middle-line{
    margin-left: 10px;
    color: #666
}

.hover-box{
    width: 160px;
    height: 70px;
    background-color:white;
    box-shadow: 0 0 18px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 18px rgba(0,0,0,.1);
    color: #666;
    position: absolute;
    top: 48px;
    right: 0;
    display: none;
    
}
.hover-box1,.hover-box2{
    height: 35px;
    text-align: center;
    line-height: 35px;
   
}
.box-right-hover{
    position: relative;
}
.box-right-hover:hover .hover-box{
    display: block;
}
.hover-box1:hover{
    background-color: #845f3f;
    color: white;
}
.hover-box2:hover{
    background-color: #845f3f;
    color: white;
}


#header-top{
    width: 100%;
    height: 51px;
    padding-top:20px;
    background-color: #fff;
    padding-bottom: 10px;
  }
  .header-top-a{
    height: 51px;
    // background-color: pink;
  
  }
  .header-logo{
    width: 123px;
    height: 51px;
    float: left;
  }
  .header-logo img{
    width: 123px;
    height: 51px;
    background-size: 100%;
  }
  .header-time{
    width: 420px;
    float: left;
     line-height: 51px;
     margin-left: 140px;
     font-size: 20px;
     color: #666;
  }
  .header-searchLogo{
    width: 296px;
      height: 40px;
    //   background-color: rgb(143, 137, 137);
      line-height: 51px;
      float: right;
      margin-top: 8px;
      border-bottom: 1px rgb(160, 154, 154) solid;
  }
  .header-searchLogo .iconfont{
      width: 30px;
      height: 30px;
    //   line-height: 30px;
      text-align: center;
      font-size: 20px;
      font-weight: 900;
      float: left;
      color: #666;
  }
.header-searchLogo .searchInput{
    width: 266px;
    height: 32px;
    float: left;
    border: none;
    // margin-top: 8px;

}
.header-searchLogo input{
    outline: none;
    width: 100%;
    height: 32px;
    float: left;
    outline: 0;
    border: 0;
    padding-top: 8px;
    font-size: 15px;

}
.shoppingcarLogo{
    width: 30px;
    height: 30px;
    float: right;
    color: #666;
    text-align: center;
    line-height: 30px;
    margin-left: 5px;
}
.shoppingcarLogo span{
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: block;
    padding-top: 22px;
    font-size: 27px;
    
}


///////////////右边固定广告 右边固定广告右边固定广告///////////////////

.advertising-right{
    width: 80px;
    height: 362px;
    padding-top: 5px;
    position: fixed;
    right: 20px;
    top:0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 0 18px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 18px rgba(0,0,0,.1)
}

.advertising-right li{
    height: 71.4px;
    text-align: center;
    border-bottom: 1px solid rgb(212, 208, 208);
    cursor: pointer;
}

.advertising-right .iconfont{
    font-size: 22px;
    color: #999999;
    display: block;
    
}
.advertising-p11{
    width: 80px;
    height: 60.4px;
    margin: auto;
    text-align: center;
    // margin-top: 10px;
    padding-top: 10px;

    p{
        margin-top: 10px;
      
    }
}

.advertising-right .advertising-p1,.advertising-p2
,.advertising-p3,.advertising-p4{
    position: relative;
} 

.advertising-right .advertising-Left{
    width: 250px;
    height: 230px;
    position: absolute;
    left: -265px;
    top:0px;
    border: 1px solid #e6e4e4;
    background-color: white;
    display: none;
    box-shadow: 0 0 18px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 18px rgba(0,0,0,.1);
}


.advertising-p1:hover .advertising-Left{
    display: block;
}


.advertising-right .adv-l-a{
    width: 230px;
    height: 220px;
    margin:auto;
}

.advertising-right .adv-l-b{
    width: 120px;
    height: 145px;
    position: absolute;
    left:-130px;
    top:0px;
    border: 1px solid #e6e4e4;
    background-color: white;
     display: none;
     img{
         padding-top: 10px;
     }
    
    
}

.advertising-p2:hover .adv-l-b{
    display: block;
}
.advertising-right img{
    width: 88px;
    height: 88px;
  
}
.adv-l-b .adv-l-p{
    margin-top: 5px;
}

.adv-l-c{
    width: 211px;
    height: 330px;
    background-color: white;
    position: absolute;
    left: -226px;
    top: 0px;
    display: none;
    border: 1px solid #e6e4e4;
   
    .adv-new{
        width: 190px;
        height: 152px;
        background-image: url(../xiaomi-img/adv-new.gif);
        background-size: 100%;
        margin: 12px auto;
    }
    .adv-saoma div{
        width: 120px;
        height: 120px;
        margin: auto;
        background-color: white;
        border: #e0dedc 1px solid;
    }
    .adv-saoma img{
        width: 88px;
        height: 88px;
        margin: 16px auto;
    }

}
.advertising-p3:hover .adv-l-c{
    display: block;
}

.avd-l-d{
    width: 210px;
    height: 185px;
    position: absolute;
    background-color: white;
    border: 1px solid #e6e4e4;
    left: -224px;
    top: 0;
    display: none;

    .adv-weixin{
        width: 120px;
        height: 120px;
        margin: 10px auto;
        text-align: center;
        img{
            width: 100%;
            height: 100%;
        }
    }

}
.advertising-p4:hover .avd-l-d{
    display: block;
}


///////////////////列表主体部分//列表主体部分/////////////////////

.home{
    // background-color: rgb(179, 170, 170);

    .home-page{
        // background-color: pink;
        margin: 40px 0;
        a{
            font-size: 15px;
            color: black;
        }
        span{
            font-size: 13px;
            color: #999999;
            cursor: pointer;

        }
    }
   
}


.listTop{
    // margin: 10px 0 10px 0;
    height: 40px;
    margin-bottom: 10px;
    p{
        
        font-size: 24px;
        float: left;
    }

    ul{
        float: right;

        li{
            float: left;
            width: 100px;
            height: 30px;
            margin-right: 15px;
            font-size: 15px;
            cursor: pointer;
            text-align: center;
            line-height: 30px;
            border: #e0dcdc 1px solid;
        }
    }


}


///////////  销量榜单   /////////////////////

.container-list{
    width: 263px;
    margin-right: 5px;
    transition: all .4s;
    -webkit-transition: all .4s;
    cursor: pointer;
    margin-bottom: 7px;
    float: left;
    
    background-color: #fff;
    .list-picture{
        width: 263px;
        // height: 198px;
        margin: auto;
        overflow: hidden;
       
        text-align: center;
        
        // p{
        //     text-align: center;
        //     font-size: 15px;
        //     height: 20px;
        //     line-height: 20px;
        // }
        .picture-center{
            width: 195px;
            height: 195px;
            margin: auto;
            img{
                width: 100%;
                height: 100%;
            }
        }

        .goodsName{
            // text-indent: 1em;
            font-size:16px;
            color: #161616;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            margin-top: 10px;
        }
        .describe{
            margin-top: 5px;
            font-size:14px;
            color: #999999;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .goods-price{
            margin: 8px 0;

            .price-unit{
                font-size: 8px;
                display: inline-block;
            }
            .price-num{
                font-size: 14px;
                color: brown;
            }
            .price-tj{
                padding: 5px 8px;
                display: inline-block;
                background-color: rgb(241, 65, 65);
            }

        }

    }

}
.container-list:hover{
    -webkit-box-shadow: 0 15px 30px rgba(0,0,0,.1);
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    -webkit-transform: translate3d(0,-5px,0);
    transform: translate3d(0,-5px,0);
    z-index: 3;
}


//////////////底部////////////////////////

.bottom{
    background-color: white;
    border-top: 1px solid rgb(240, 236, 230);
    margin-top: 60px;
    .bottom-body{
        height: 90px;
        margin-top: 45px;
        background-color: #fff;
        .bottom-logo{
            width: 125px;
            height: 45px;
            
            float: left;
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
    .bottom-middle{
        float: left;
        margin-left: 296px;
        img{
            width: 15px;
            height: 15px;
        }
        p{
            margin: 5px 0;
        }



    }

    .bottom-logo-r{
        float: right;
        width: 100px;
        height: 36px;

        img{
            width: 100%;
            height: 100%;
        }
    }
}